-
Notifications
You must be signed in to change notification settings - Fork 32
✨Storage: provide entrypoint to compute path size (⚠️ devops) #7286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨Storage: provide entrypoint to compute path size (⚠️ devops) #7286
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7286 +/- ##
==========================================
+ Coverage 87.32% 88.13% +0.81%
==========================================
Files 1693 1669 -24
Lines 65780 64663 -1117
Branches 1121 1121
==========================================
- Hits 57441 56993 -448
+ Misses 8019 7350 -669
Partials 320 320
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
7856550 to
3356fab
Compare
5fd55d1 to
47619af
Compare
pcrespov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
...es/storage/src/simcore_service_storage/modules/datcore_adapter/datcore_adapter_exceptions.py
Show resolved
Hide resolved
f051c79 to
3f55a2a
Compare
3f55a2a to
4f2f270
Compare
GitHK
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
4f2f270 to
e3215d6
Compare
e3215d6 to
fce2443
Compare
|



What do these changes do?
This PR introduces a new API entrypoint in storage to compute an arbitrary path size. This typically will be used by the frontend to compute the size of a study, or the size of a node, or any subfolders within a node.
This works for both simcore and datcore (also this is not optimized unless the base dataset size is computed).
This PR brings the new functionality but is NOT YET available to the frontend.
Next steps
Changes
POST /v0/locations/{location_id}/paths/{path}:sizeBF_API_KEYandBF_API_SECRET, maybe the oldest unused ENVs everRelated issue/s
How to test
Dev-ops checklist
(NON-REALLY)BREAKING CHANGES: